//******************************************************************************
//  _____                  _    _             __
// |  _  |                | |  | |           / _|
// | | | |_ __   ___ _ __ | |  | | __ _ _ __| |_ __ _ _ __ ___
// | | | | '_ \ / _ \ '_ \| |/\| |/ _` | '__|  _/ _` | '__/ _ \
// \ \_/ / |_) |  __/ | | \  /\  / (_| | |  | || (_| | | |  __/
//  \___/| .__/ \___|_| |_|\/  \/ \__,_|_|  |_| \__,_|_|  \___|
//       | |               We don't make the game you play.
//       |_|                 We make the game you play BETTER.
//
//            Website: http://openwarfaremod.com/
//******************************************************************************
// WELCOME SCREEN, SERVER MESSAGES, AND SERVER BANNERS
// ALL VARIABLES WORK IN RANKED AND UNRANKED MODES
//******************************************************************************

#include openwarfare\_utils;

//******************************************************************************
// COLOR CODES
//******************************************************************************
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black
//******************************************************************************


init() {
printDebugLine( "configs\server\messages::init()" );

//******************************************************************************
// SERVER BANNERS
//******************************************************************************
// 0 = Disabled (default), 1 = Enable
setModDVar( "scr_enable_server_banners", "1" );

// Delay in seconds between banners. Values: 1-600. Default value is 10 seconds.
// setModDVar( "scr_server_banners_delay", "10" );

// Time the banner will be shown
// 0 = The banner will show until it rotates to the next one (default)
// 1-600 = The banner will show for this amount of seconds and then wait sv_server_banners_delay to show the next one
// setModDVar( "scr_server_banners_time", "0" );

// List of banners (there's no limit in number of messages)
setModDVar( "scr_server_banner_1", "^7Mod Powered by the ^2OpenWarfare^7 Mod!" );
setModDVar( "scr_server_banner_2", "^7Visit them at ^2http://openwarfaremod.com/" );
setModDVar( "scr_server_banner_3", "^7Server provided by ^2[TC] Topcats Gaming Community ^7!" );
setModDVar( "scr_server_banner_4", "^7Visit them at ^2http://www.topcatsgaming.com/" );

//******************************************************************************
// SERVER MESSAGES
//******************************************************************************
// 0 = Disabled (default), 1 = Enable
setModDVar( "scr_enable_server_messages", "1" );

// Dispaly the messages to the players only when they are dead
// 0 = Disabled (default), 1 = Enable
// setModDVar( "scr_server_message_deadonly", "0" );

// Show the name and gametype of the next map in the rotation.
// 0 = Disabled (default), 1 = Enable
setModDVar( "scr_server_message_nextmap", "1" );

// Delay in seconds between messages. Values: 1-120. Default value is 15.
// setModDVar( "scr_server_messages_delay", "15" );

// Delimiter to be used for line breaks
// setModDVar( "scr_server_messages_linebreak", "|" );

// List of messages (there's no limit in number of messages)
setModDVar( "scr_server_message_1", "^3[SERVER] ^7Welcome to the ^2[SHIFT]^4[TC] ^7Server!" );
setModDVar( "scr_server_message_2", "^3[SERVER] ^7Profane or vulgar language as well as racist comments will ^1not ^7be tolerated." );
setModDVar( "scr_server_message_3", "^3[SERVER] ^7Use of cheats such as but not limited to: aim-bots, wall hacks, etc are strickly ^1forbidden^7." );
setModDVar( "scr_server_message_4", "^3[SERVER] ^7Use of map glitches which allow players to fire with impunity are ^1forbidden^7." );
setModDVar( "scr_server_message_5", "^3[SERVER] ^7Although spawn killing is authorized, for the sake of ^2good sportsmanship^7, it should be kept to a minimum." );
setModDVar( "scr_server_message_6", "^3[SERVER] ^7Harassment of players because of a particular gaming style will ^1not ^7be tolerated." );


}